package com.xwy.entity;

import java.io.Serializable;

/**
 * (SysUser)实体类
 *
 * @author makejava
 * @since 2020-06-09 08:07:17
 */
public class SysUser implements Serializable {
    private static final long serialVersionUID = 392553823206022171L;
    /**
    * 用户编号
    */
    private String uid;
    /**
     * 学号/工号
     */
    private  String  uno;
    /**
    * 密码
    */
    private String password;
    /**
    * 姓名
    */
    private String name;
    /**
    * 性别
    */
    private String sex;
    /**
    * 宿舍号
    */
    private String dormitory;
    /**
    * 邮箱
    */
    private String email;
    /**
    * 爱好
    */
    private String hobby;
    /**
    * 技能
    */
    private String skill;
    /**
    * 电话
    */
    private String phone;
    /**
    * 籍贯
    */
    private String address;
    /**
     * 年级班级
     */
    private String classGrade;
    /**
    * 专业
    */
    private SysMajor major = new SysMajor();

    public String getUid() {
        return uid;
    }

    public SysUser setUid(String uid) {
        this.uid = uid;
        return this;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getPassword() {
        return password;
    }

    public SysUser setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getName() {
        return name;
    }

    public SysUser setName(String name) {
        this.name = name;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public SysUser setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getDormitory() {
        return dormitory;
    }

    public SysUser setDormitory(String dormitory) {
        this.dormitory = dormitory;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public SysUser setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getHobby() {
        return hobby;
    }

    public SysUser setHobby(String hobby) {
        this.hobby = hobby;
        return this;
    }

    public String getSkill() {
        return skill;
    }

    public SysUser setSkill(String skill) {
        this.skill = skill;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public SysUser setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public SysUser setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getClassGrade() {
        return classGrade;
    }

    public void setClassGrade(String classGrade) {
        this.classGrade = classGrade;
    }

    public SysMajor getMajor() {
        return major;
    }

    public void setMajor(SysMajor major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "uid='" + uid + '\'' +
                ", uno='" + uno + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", dormitory='" + dormitory + '\'' +
                ", email='" + email + '\'' +
                ", hobby='" + hobby + '\'' +
                ", skill='" + skill + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", classGrade='" + classGrade + '\'' +
                ", major=" + major +
                '}';
    }
}
